﻿namespace EIM_Accounting.BLL
{
    public class CM010102
    {
        private readonly Accounting.DAL.Staff staff = new Accounting.DAL.Staff();

        /// <summary>
        /// 增加一条数据
        /// </summary>
        public int Add(Accounting.Model.Staff model)
        {
            return staff.Add(model);
        }

        internal void Update(Accounting.Model.Staff model)
        {
            staff.Update(model);
        }

        internal Accounting.Model.Staff getModel(int p)
        {
            return staff.GetModel(p);
        }
    }
}